/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.board;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.board.Conference;

/**
 * @author Alucard (email:357375084@qq.com)
 * @since 2013-03-14
 */
public interface conferenceService {

    /****************************************
     * Insert a instace of conference
     ****************************************/
    void insert(Conference conference) throws Exception;

    /****************************************
     * Insert instaces of conference
     ****************************************/
    void batchInsert(Conference conference) throws Exception;

    /****************************************
     * Delete a instace of conference
     ****************************************/
    void delete(Conference conference) throws Exception;

    /****************************************
     * Delete instaces of conference
     ****************************************/
    void batchDelete(Conference conference) throws Exception;

    /****************************************
     * Update a instace of conference
     ****************************************/
    void update(Conference conference) throws Exception;

    /****************************************
     * Query instaces of conference
     ****************************************/
    List<BaseModel> queryAsList(Conference conference) throws Exception;

    /****************************************
     * Query a instaces of conference
     ****************************************/
    BaseModel queryAsObject(Conference conference) throws Exception;
    
    /****************************************
     * Query a instaces of conference
     ****************************************/
    List<BaseModel> queryReadyBoardRoom(Conference conference) throws Exception;
    
    /****************************************
     * Query a instaces of conference
     ****************************************/
    List<BaseModel> queryBoardRoomState(Conference conference) throws Exception;
}
